import request from '@/utils/request'

export function selectTree() {
  return request({
    url: '/api/java/study/tree',
    method: 'get'
  })
}
export function save(params) {
  return request({
    data: params,
    url: '/api/java/study/save',
    method: 'post'
  })
}
export function remove(params) {
  return request({
    url: '/api/java/study/remove/' + params.id,
    method: 'post'
  })
}
export function refreshCache(params) {
  return request({
    url: '/api/java/study/remove/' + params.id,
    method: 'post'
  })
}
